package com.sojson.base.impl;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 基础Bean
 * 
 * @author liu
 * @date 2020-11-02
 */
@Data
@ApiModel("基础实体类")
public class BaseBean extends Base {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /** 创建者ID */
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建者ID", position = 1001)
    private String createBy;
    /** 创建时间 */
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", position = 1002)
    private Date createTime;
    /** 更新者ID */
    @TableField(value = "UPDATE_BY", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新者ID", position = 1003)
    private String updateBy;
    /** 更新时间 */
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间", position = 1004)
    private Date updateTime;

}